<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>修改密码</title>
		<meta http-equiv="X-UA-Compatible" content='IE=edge' />
		<link rel="stylesheet" type="text/css" href="/cloud_ifw/css/bootStrap/bootstrap.min.css">
    	<link rel="stylesheet" type="text/css" href="/cloud_ifw/css/common.css">
		<link rel="stylesheet" href="css/changePwd.css" type="text/css"></link>
		<script type="text/javascript" src="/cloud_ifw/js/jquery/jquery.js"></script>
		<script type="text/javascript" src="/cloud_ifw/js/bootStrap/bootstrap.min.js"></script>
		<script type="text/javascript" src="/cloud_ifw/js/myjs/jvalidator.js"></script>
		<script type="text/javascript" src="/cloud_ifw/js/myjs/form.validator.js"></script>
		<script type="text/javascript" src="js/changePwd.js"></script>
	    <script type="text/javascript" src="/cloud_ifw/js/myjs/bootstrap-savehandle.js"></script>
	</head>
	<body>
		<div id="changePwd">
			<div><%@ include file="heading.jsp" %></div>
	 		<s:action name="groupmenu" executeResult="true" namespace="/groupmenu"></s:action>
			<div class="content">
				<div class="panel panel-default">
					<div class="panel-heading">修改密码</div>
					<div class="panel-body">
						<form id="changePwdForm" class="form-horizontal" method="post" role="form" action='/cloud_ifw/user/changePwd.action'>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for='oldPwd'>原密码</label>
								<input id="oldPwd" name='oldPwd' validator="empty|passwd" name="oldPwd" type="password" class="form-control col-5p"/>
							</div>	
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for='password'>新密码</label>
								<input id="password" name='password' validator="empty|passwd" name="password" type="password" class="form-control col-5p"/>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for='password2'>确认密码</label>
								<input id="password2" name='password2' validator="empty|passwd"  type="password" class="form-control col-5p"/>
							</div>
						</form>
						<div id='alertdiv'></div>
					</div>
					<div class="panel-footer">
						<button class="btn btn-primary" onclick="submitPwd()">确&nbsp;&nbsp;定</button>
						<button class="btn btn-default" onclick="resetpwd()">重&nbsp;&nbsp;置</button>
					</div>
			</div>
			</div>
			<div class="ft"><%@ include file="footer.jsp" %></div>
		</div>
	</body>
</html>
